Optimal. Leaf size=108 \[ -\frac {(b c-a d) \left (c+d x^2\right )^{3/2} \sqrt {a^2+2 a b x^2+b^2 x^4}}{3 d^2 \left (a+b x^2\right )}+\frac {b \left (c+d x^2\right )^{5/2} \sqrt {a^2+2 a b x^2+b^2 x^4}}{5 d^2 \left (a+b x^2\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 108, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.086, Rules used = {1261, 660, 45}
\begin {gather*} \frac {b \sqrt {a^2+2 a b x^2+b^2 x^4} \left (c+d x^2\right )^{5/2}}{5 d^2 \left (a+b x^2\right )}-\frac {\sqrt {a^2+2 a b x^2+b^2 x^4} \left (c+d x^2\right )^{3/2} (b c-a d)}{3 d^2 \left (a+b x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 660
Rule 1261
Rubi steps
\begin {align*} \int x \sqrt {c+d x^2} \sqrt {a^2+2 a b x^2+b^2 x^4} \, dx &=\frac {1}{2} \text {Subst}\left (\int \sqrt {c+d x} \sqrt {a^2+2 a b x+b^2 x^2} \, dx,x,x^2\right )\\ &=\frac {\sqrt {a^2+2 a b x^2+b^2 x^4} \text {Subst}\left (\int \left (a b+b^2 x\right ) \sqrt {c+d x} \, dx,x,x^2\right )}{2 \left (a b+b^2 x^2\right )}\\ &=\frac {\sqrt {a^2+2 a b x^2+b^2 x^4} \text {Subst}\left (\int \left (-\frac {b (b c-a d) \sqrt {c+d x}}{d}+\frac {b^2 (c+d x)^{3/2}}{d}\right ) \, dx,x,x^2\right )}{2 \left (a b+b^2 x^2\right )}\\ &=-\frac {(b c-a d) \left (c+d x^2\right )^{3/2} \sqrt {a^2+2 a b x^2+b^2 x^4}}{3 d^2 \left (a+b x^2\right )}+\frac {b \left (c+d x^2\right )^{5/2} \sqrt {a^2+2 a b x^2+b^2 x^4}}{5 d^2 \left (a+b x^2\right )}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 56, normalized size = 0.52 \begin {gather*} \frac {\sqrt {\left (a+b x^2\right )^2} \left (c+d x^2\right )^{3/2} \left (-2 b c+5 a d+3 b d x^2\right )}{15 d^2 \left (a+b x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.12, size = 51, normalized size = 0.47
method | result | size |
gosper | \(\frac {\left (d \,x^{2}+c \right )^{\frac {3}{2}} \left (3 b \,x^{2} d +5 a d -2 b c \right ) \sqrt {\left (b \,x^{2}+a \right )^{2}}}{15 d^{2} \left (b \,x^{2}+a \right )}\) | \(51\) |
default | \(\frac {\left (d \,x^{2}+c \right )^{\frac {3}{2}} \left (3 b \,x^{2} d +5 a d -2 b c \right ) \sqrt {\left (b \,x^{2}+a \right )^{2}}}{15 d^{2} \left (b \,x^{2}+a \right )}\) | \(51\) |
risch | \(\frac {\sqrt {\left (b \,x^{2}+a \right )^{2}}\, \left (3 b \,x^{4} d^{2}+5 a \,d^{2} x^{2}+b c d \,x^{2}+5 a c d -2 b \,c^{2}\right ) \sqrt {d \,x^{2}+c}}{15 \left (b \,x^{2}+a \right ) d^{2}}\) | \(72\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 50, normalized size = 0.46 \begin {gather*} \frac {{\left (d x^{2} + c\right )}^{\frac {3}{2}} b x^{2}}{5 \, d} - \frac {2 \, {\left (d x^{2} + c\right )}^{\frac {3}{2}} b c}{15 \, d^{2}} + \frac {{\left (d x^{2} + c\right )}^{\frac {3}{2}} a}{3 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 50, normalized size = 0.46 \begin {gather*} \frac {{\left (3 \, b d^{2} x^{4} - 2 \, b c^{2} + 5 \, a c d + {\left (b c d + 5 \, a d^{2}\right )} x^{2}\right )} \sqrt {d x^{2} + c}}{15 \, d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x \sqrt {c + d x^{2}} \sqrt {\left (a + b x^{2}\right )^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.98, size = 68, normalized size = 0.63 \begin {gather*} \frac {3 \, {\left (d x^{2} + c\right )}^{\frac {5}{2}} b \mathrm {sgn}\left (b x^{2} + a\right ) - 5 \, {\left (d x^{2} + c\right )}^{\frac {3}{2}} b c \mathrm {sgn}\left (b x^{2} + a\right ) + 5 \, {\left (d x^{2} + c\right )}^{\frac {3}{2}} a d \mathrm {sgn}\left (b x^{2} + a\right )}{15 \, d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x\,\sqrt {d\,x^2+c}\,\sqrt {{\left (b\,x^2+a\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________